<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      // new Object()
      // obj.__proto__ === Object.prototype;
      // const obj = {};

      const Person = { name: "jack" };
      const obj = Object.create(Person, {
        age: {
          value: 20,
        },
        gender: {
          value: "boy",
        },
      });

      console.log(obj);
    </script>
  </body>
</html>
